<?php # Physical_Symptom_Question.php

require_once 'DBObject.php';

class Physical_Symptom_Question extends DBObject {
	public $tablename = "physical_symptom_questions";
	
	public $qnumber;
	public $text;
	public $type; 
	public $type_options;
	
	
	public function get() {
		return array(
					'qnumber' => $this->qnumber,
					'text' => $this->text,
					'type' => $this->type,
					'type_options' => $this->type_options
		);
	}
	
	public function validate() {
		return parent::validateObject($this->tablename);
	}
}